Skip to content

PCI: quirks: work around VL805 firmware ASPM meddling#6790

Merged
P33M merged 1 commit intoraspberrypi:rpi-6.12.yfrom
P33M:vl805_fixup
Apr 15, 2025
Merged

PCI: quirks: work around VL805 firmware ASPM meddling#6790
P33M merged 1 commit intoraspberrypi:rpi-6.12.yfrom
P33M:vl805_fixup

Conversation

@P33M
Copy link
Copy Markdown
Contributor

@P33M P33M commented Apr 15, 2025

See https://forums.raspberrypi.com/viewtopic.php?t=386386

This has probably been broken on every Pi4/400 with any of the later releases of the VL805 firmware - I'm pretty sure early ones didn't do this. But we no longer ship those in rpi-eeprom and I'm not going to spend time going round the loop with VIA for an update. So a software quirk it is.

Certain versions of the VL805 firmware manipulate the endpoint Link
Control register to toggle ASPM on/off based on workload, but these
versions also report 0 in the Device Capability Acceptable Latency field
leaving the RC with ASPM disabled.

As it turns out, this EP has a broken L0s implementation so a) override
L1 latency to a sensible value and b) mask L0s.

Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
@P33M P33M merged commit 1af55c5 into raspberrypi:rpi-6.12.y Apr 15, 2025
13 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Apr 15, 2025
See: raspberrypi/linux#6790

kernel: fixup! mmc: sdhci-of-dwcmshc: define sdio timeout clocks
See: raspberrypi/linux#6788

kernel: ARM: dts: Include symbols in the CM0 dtb
See: raspberrypi/linux#6779
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Apr 15, 2025
See: raspberrypi/linux#6790

kernel: fixup! mmc: sdhci-of-dwcmshc: define sdio timeout clocks
See: raspberrypi/linux#6788

kernel: ARM: dts: Include symbols in the CM0 dtb
See: raspberrypi/linux#6779
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants